package com.gcxy.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gcxy.dto.PenDTO;
import com.gcxy.entity.Pen;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jiang
 * @since 2023-12-12
 */
public interface PenService extends IService<Pen> {

     Page<PenDTO> getPenByPage(PenDTO penDTO);


     boolean addPen(Pen pen);

     boolean updatePen(Pen pen);

     boolean updateIsEnable(Pen pen);

     List<String> getPenNameList();
}
